/**
 * Created by xuechao on 2016/9/2.
 */
app.factory('trafficService', [ '$resource', function($resource) {
    return $resource( '/GMS/traffic/:id/:action', {
        id:'@id',
        action : '@action'
    },{
        findByConditions:{
            method : 'GET',
            isArray : false
        },
        getUsersByCondition:{
            method : 'GET',
            isArray : false
        }
    });
} ]);